package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.mybatisflex.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 组织类型
 *
 * @author panbo
 * @since 2024/7/7
 */
@Getter
@RequiredArgsConstructor
@Dict("组织类型")
public enum OrgTypeEnum implements DictEnum<String> {

    GROUP("GROUP", "集团", "success", true),
    COMPANY("COMPANY", "公司", "success", false),
    DEPARTMENT("DEPARTMENT", "部门", "", false),
    CAMPUS("CAMPUS", "校区", "warning", false),
    ;

    @EnumValue
    private final String value;
    private final String label;
    private final String color;
    private final boolean disabled;
}
